{% include 'QLGL/QLGL_index.html' %}

<div class="am-cf admin-main">
  {% include 'sidebar.html' %}
  <!-- content start -->
  <div class="admin-content">
    <div class="admin-content-body">
      <div class="am-cf am-padding">
        <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">巡检业务</strong></div>
      </div>
      <div class="am-g" style="position: absolute;height: 100%;right: 0px;left: 260px;width: auto;">

        {% include 'QLGL/XJYW/QLGL_XJYW_SIDEBAR.html' %}

        <div class="am-u-sm-10" style="position: absolute;width:auto;right:0;left: 200px;overflow-y: scroll;bottom: 100px;top: 0px;">
          <div class="am-g am-margin-top am-form-group">
            <div class="am-fl am-cf" style="float: left;clear: left;"><strong class="am-text-primary am-text-lg">病害详情</strong></div>

            <div class="am-btn-group am-btn-group-xs" style="float: left;clear: left;margin-top: 10px">
                <button style="margin: 0 20px" type="button" class="am-btn am-btn-default am-btn-xs am-text-secondary" onclick="history.go(-1);">返回</button>

              </div>
          </div>

          <!-- <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">天气情况</strong></div> -->

          <!--中间侧块 注意下面是form表-->
          <div class="am-form-group" style="top: 20px">
            {% for item in historyList %}
            <div class="am-panel am-panel-default">
              <div class="am-panel-hd">
                <h3 class="am-panel-title">{{ item.user_name }}({{ item.task_date|date:"Y-m-d H:i:s"  }}) [<em style="color:red">{{ item.status_name }}</em>]</h3>
              </div>
              {% if item.type == 1 %}
              <div class="am-panel-bd">
                <div class="am-g am-margin-top">
                  <div class="am-u-sm-11 am-u-md-9" style="padding-left: 2rem;">
                    <div class="am-fl am-cf">{{ item.remark }}</div>
                  </div>
                </div>
                <hr>
                <ul class="am-avg-sm-2 am-avg-md-4 am-avg-lg-6 am-margin gallery-list">
                  {% for pic in item.urls %}
                  <li><img class="am-img-thumbnail am-img-bdrs" src="{{ pic.url }}" alt="img"></li>
                  {% endfor %}
                </ul>
              </div>
              {% endif %}
            </div>
            {% endfor %}

          </div>

        </div>
      </div>

    </div>
  </div>
</div>
</div>
</div>
{% include 'footer.html' %}
<!--[if lt IE 9]>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="assets/js/amazeui.ie8polyfill.min.js"></script>
<![endif]-->

<!--[if (gte IE 9)|!(IE)]><!-->
<script src="/static/assets/js/jquery.min.js"></script>
<!--<![endif]-->
<script src="/static/assets/js/amazeui.min.js"></script>
<script src="/static/assets/js/amazeui.tree.js"></script>
<script type="text/javascript" src="/static/assets/js/layer.js"></script>
<script src="/static/assets/datatables/amazeui.datatables.min.js"></script>
<script src="/static/assets/dialog/amazeui.dialog.min.js"></script>
<link rel="stylesheet" type="text/css" href="/static/assets/css/amazeui.tree.css" />
<script src="/static/assets/js/app.js"></script>
<style type="text/css">
  .li_a {
    color: #5c5c5c;
  }
</style>
<script type="text/javascript">
  $("#collapse-nav1").addClass("am-in");
  $("#qlgl").removeClass("am-collapsed");
  $("#qlglOxjyw").css("color", "#3399CC");
  $("#qlgl").css("color", "#3399CC");
  $("#xjywObhk").removeClass("li_a");
</script>

</body>

</html>